package com.example.taobaounion.view

import com.example.taobaounion.model.bean.CategoryPagerData

/**
 *@author : Administrator
 *@descreption : 各大类的回调
 */
interface ICategoryPagerCallBack {
    fun loadSuccess(data: List<CategoryPagerData.DataBean>, id: Int)
    fun loading(id: Int)
    fun loadError(id: Int)
    fun noData()
    //重新加载
    fun reLoadSuccess(data: List<CategoryPagerData.DataBean>, id: Int)


    //加载更多
    fun loadMoreError(id:Int)
    fun loadMoreSuccess(data: List<CategoryPagerData.DataBean>, id: Int)
    fun noMoreData()

}